package org.seedltd.upms.model.sys.entity;

import org.seedltd.core.base.BaseEntity;
import org.seedltd.upms.enums.EnableStatus;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Getter;
import lombok.Setter;

/**
 * 字典管理数据库对象
 *
 * @author laizuan
 * @version 1.0
 * @since 2021/07/19
 */
@Getter
@Setter
@TableName("sys_dict")
public class SysDict extends BaseEntity {

    /**
     * 主键
     */
    @TableId(value = "dict_id")
    private Long dictId;

    /**
     * 字典类型
     */
    @TableField(value = "dict_type")
    private String dictType;

    /**
     * 显示名称
     */
    @TableField(value = "label")
    private String label;

    /**
     * 字典值
     */
    @TableField(value = "value1")
    private String value1;

    /**
     * 字典值2
     */
    @TableField(value = "value2")
    private String value2;

    /**
     * 字典值3
     */
    @TableField(value = "value3")
    private String value3;

    /**
     * 字典值4
     */
    @TableField(value = "value4")
    private String value4;

    /**
     * 字典值5
     */
    @TableField(value = "value5")
    private String value5;

    /**
     * 前端状态类型
     */
    @TableField(value = "tag_type")
    private String tagType;

    /**
     * 排序
     */
    @TableField("sort_no")
    private Integer sortNo;

    /**
     * 启用状态(1启用 0禁用)
     */
    @TableField(value = "enabled")
    private EnableStatus enabled;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;
}